package com.itheima.chapter01.Controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
//    此控制类用于测试热部署是否生效
    @GetMapping("/hello")
    public  String hello(){
        return "Spring Boot 测试（热部署2）";
    }
}
